﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XJay.Scheduler.Model.Job
{
    public class AddJobParams
    {
        /// <summary>
        /// 任务名称
        /// </summary>
        [Required]
        public string JobName { get; set; }
        /// <summary>
        /// 任务分组
        /// </summary>
        [Required]
        public string JobGroup { get; set; }
        /// <summary>
        /// Cron表达式
        /// </summary>
        [Required]
        public string Cron { get; set; }
        /// <summary>
        /// Dll程序集命名空间
        /// </summary>
        [Required]
        public string DllPath { get; set; }
        /// <summary>
        /// Job的类名
        /// </summary>
        [Required]
        public string JobClass { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

    }
}
